package com.shopping.modean;

import java.util.Date;

public class User {

	private int id;          //主键ID
	private String username; //用户名
	private String password; //密码
	private String phone;    //手机号码
	private String addr;     //收货地址
	private Date rdate;      //注册日期
	
	public User() {
		
	}
	
	public User(String username,String password,String phone,String addr) {
		this.username = username;
		this.password = password;
		this.phone = phone;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public Date getRdate() {
		return rdate;
	}
	public void setRdate(Date rdate) {
		this.rdate = rdate;
	}
	
	
}
